<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>内容</title>
    <script type="text/javascript" src="./js/jquery.min.js"></script>
    <script type="text/javascript" src="./data/sensor.js"></script>
</head>
<body id="bodyContent">
   <div id="div1"></div>
<img src="http://led.longder.com/qr.png">
</body>
<script type="text/javascript">
    //加载默认数据
    $(function () {
        let postData={"appkey":"qr_code_content"};
        let settingsInfo=sensorServer.getSettingsByAppKey(postData);
        if(settingsInfo!=undefined&&settingsInfo!=null){
            if(settingsInfo.appval!=undefined&&settingsInfo.appval!=null) {
                $("#div1").html(settingsInfo.appval.replaceAll("\n","<br>"));
            }
        }
    });
</script>
</html>
